package com.bwie.common.remote.system;

import com.bwie.common.constants.ServerNameConstants;
import com.bwie.common.domain.Student;
import com.bwie.common.result.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.expression.spel.support.SimpleEvaluationContext;
import org.springframework.web.bind.annotation.PostMapping;

import java.util.List;

/**
 * @Author：ShenJiaFeng
 * @Package：com.bwie.common.remote.system.factory
 * @Project：zg5_19
 * @name：RemoteEsServie
 * @Date：2024/2/18 8:53
 */
@FeignClient(
        name = ServerNameConstants.STUDENT_NAME,
        path = "/student"
)
public interface RemoteEsService {
    @PostMapping("/studentLists")
    public Result<List<Student>> studentLists();
}
